package com.wuage.interfaces.account.domain;

import com.wuage.interfaces.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

@Data
@ApiModel("分页查询字段参数")
public class DictionaryPageDO extends BaseDO {

    @NotBlank(message = "分类名不能为空")
    @ApiModelProperty(value = "分类名", required = true)
    private String classification;

    @ApiModelProperty("父级Id,不传，查全部，传0查一级")
    private Long parentId;

}
